home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK2.toast / Development Kits (Disc 2) / QuickDraw™ 3D / Development / QAL DDK 1.0.3 / Headers / QD3DAcceleration.h < prev   
Encoding:
C/C++ Source or Header  |  1995-07-28  |  2.0 KB  |  66 lines  |  [TEXT/MPS ]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        QD3DAcceleration.h                                         **
  4.  **                                                                          **
  5.  **                                                                          **
  6.  **     Purpose:     Header file for low-level 3D driver API                     **
  7.  **                 Vendor IDs, and Apple's engine IDs                         **
  8.  **                                                                          **
  9.  **                                                                          **
  10.  **     Copyright (C) 1994-95 Apple Computer, Inc.  All rights reserved.     **
  11.  **                                                                          **
  12.  **                                                                          **
  13.  *****************************************************************************/
  14. #ifndef QD3DAcceleration_h
  15. #define QD3DAcceleration_h
  16.  
  17. #if PRAGMA_ONCE
  18.     #pragma once
  19. #endif
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. /******************************************************************************
  26.  **                                                                             **
  27.  **                         Vendor ID definitions                             **
  28.  **                                                                             **
  29.  *****************************************************************************/
  30.  
  31. /*
  32.  * If kQAVendor_BestChoice is used, the system chooses the "best" drawing engine
  33.  * available for the target device. This should be used for the default.
  34.  */
  35.  
  36. #define kQAVendor_BestChoice        (-1)
  37.  
  38. /*
  39.  * The other definitions (kQAVendor_Apple, etc.) identify specific vendors
  40.  * of drawing engines. When a vendor ID is used in conjunction with a
  41.  * vendor-defined engine ID, a specific drawing engine can be selected.
  42.  */
  43.  
  44. #define kQAVendor_Apple            0
  45. #define kQAVendor_ATI            1
  46. #define kQAVendor_Radius        2
  47. #define kQAVendor_Mentor        3        /* Mentor Software, Inc. */
  48. #define kQAVendor_Matrox        4
  49. #define kQAVendor_Yarc            5
  50.  
  51. /******************************************************************************
  52.  **                                                                             **
  53.  **                         Apple's engine ID definitions                         **
  54.  **                                                                             **
  55.  *****************************************************************************/
  56.  
  57. #define kQAEngine_AppleSW        0        /* Default software rasterizer */
  58. #define kQAEngine_AppleHW        (-1)    /* Apple accelerator */
  59. #define kQAEngine_AppleHW2        1        /* Another Apple accelerator */
  60.  
  61. #ifdef __cplusplus
  62. }
  63. #endif
  64.  
  65. #endif /* QD3DAcceleration_h */
  66.